package com.tsing.common.vo;

import lombok.Data;

import javax.validation.constraints.DecimalMin;

@Data
public class BasePageVo {

    @DecimalMin(value = "1", message = "当前页数不能小于1")
    private Integer pageNum = 1;

    @DecimalMin(value = "1", message = "每页展示数据不能小于1")
    private Integer pageSize = 10;

}
